﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using TracNghiemTinHocDaiCuong.DAO;
using TracNghiemTinHocDaiCuong.ThucThe;

namespace TracNghiemTinHocDaiCuong.BIZ
{
    public class BaiHocBIZ
    {
        public static BaiHoc TimTheoId(int idBaiHoc)
        {
            return BaiHocDAO.TimTheoId(idBaiHoc);
        }

        public static IList<BaiHoc> LayDanhSach()
        {
            return BaiHocDAO.LayDanhSach();
        }

        public static bool Them(BaiHoc baiHoc)
        {
            return BaiHocDAO.Them(baiHoc);
        }

        public static bool Sua(BaiHoc baiHoc)
        {
            return BaiHocDAO.Sua(baiHoc);
        }

        public static bool Xoa(int idBaiHoc)
        {
            return BaiHocDAO.Xoa(idBaiHoc);
        }
    }
}